home *** CD-ROM | disk | FTP | other *** search
/ Suzy B Software 2 / Suzy B Software CD-ROM 2 (1994).iso / extras / programm / gemfsc20 / gemfsc20.lzh / GEMFBIND / VSFUDPAT.S < prev    next >
Text File  |  1993-03-16  |  1KB  |  38 lines

  1. ;*========================================================================
  2. ;* VDIFAST Public Domain VDI bindings.
  3. ;*========================================================================
  4.  
  5.  
  6. ;*------------------------------------------------------------------------
  7. ;* Set user-defined fill pattern.
  8. ;*------------------------------------------------------------------------
  9.  
  10.           globl     _vsf_udpat
  11. _vsf_udpat:
  12. ;      .cargs      #8,handle.w,ppat.l,planes.w
  13.  
  14. handle      =         8
  15. ppat      =         10
  16. planes      =         14
  17.  
  18.           link        a6,#0
  19.  
  20.           move.w    planes(a6),d0        ;* Length of intin array is number
  21.           lsl.w     #4,d0                ;* of planes * 16.
  22.  
  23. ;          VContrl    #112,,,d0
  24.           move.w    handle(a6),-(sp)    ; contrl[6]
  25.           clr.l     -(sp)                ; contrl[5,4]
  26.           move.w    d0,-(sp)            ; contrl[3]
  27.           subq.l    #2,sp                ; contrl[2]
  28.           clr.w     -(sp)                ; contrl[1]
  29.           move.w    #112,-(sp)            ; contrl[0]
  30.  
  31.           lea        -12(sp),sp            ;* -> ptsout, intout, ptsin
  32.           move.l    ppat(a6),-(sp)        ;* -> intin
  33.           pea        16(sp)                ;* -> contrl
  34.  
  35.           jmp        vdicall
  36.  
  37.           end
  38.